<form method="POST" enctype="multipart/form-data" action="<?Php echo site_url()?>/welcome/doit">

<input type="file" name="userfile[]">
<input type="file" name="userfile[]">
<input type="submit" value="ok">
</form>